<!-- 头部 -->
<include file="Public:header"/>

<!-- 导航 -->
<include file="Public:nav"/>

<script>
    $(function () {
        $('.operating>a').tooltip();
    })
</script>


<div class="row-fluid" id="main">
    <div class="span8 offset2">
        <table class="table table-striped">
            <thead>
            <tr>
                <th>编号</th>
                <th>班级</th>
                <th>状态</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="list" item="vo">
                <tr>
                    <td><{$vo.id}></td>
                    <td><{$vo.name}></td>
                    <td><{$vo.status}></td>
                    <td width="150" class="operating">
                        <a href="<{:U('Employ/index',array('grade_id'=>$vo['id']),'')}>" data-placement="left"
                           data-toggle="tooltip" data-original-title="查看"><i class="icon-search"></i></a>&nbsp;
                        <a href="<{:U('Grade/edit',array('id'=>$vo['id']),'')}>" data-placement="top"
                           data-toggle="tooltip" data-original-title="修改"><i class="icon-edit"></i></a>&nbsp;
                        <a href="<{:U('Employ/exportData',array('grade_id'=>$vo['id'],'type'=>1),'')}>"
                           data-placement="right" data-toggle="tooltip" data-original-title="php格式导出"><i
                                class="icon-download-alt"></i></a>&nbsp;
                        <a href="<{:U('Employ/exportData',array('grade_id'=>$vo['id'],'type'=>2),'')}>"
                           data-placement="right" data-toggle="tooltip" data-original-title="ui格式导出"><i
                                class="icon-download-alt"></i></a>&nbsp;
                        <a href="<{:U('Employ/exportData',array('grade_id'=>$vo['id'],'type'=>3),'')}>"
                           data-placement="right" data-toggle="tooltip" data-original-title="h5格式导出"><i
                                class="icon-download-alt"></i></a>&nbsp;
                        <a href="<{:U('Employ/exportData',array('grade_id'=>$vo['id'],'type'=>4),'')}>"
                           data-placement="right" data-toggle="tooltip" data-original-title="java格式导出"><i
                                class="icon-download-alt"></i></a>&nbsp;
                        <a href="<{:U('Employ/exportData',array('grade_id'=>$vo['id'],'type'=>5),'')}>"
                           data-placement="right" data-toggle="tooltip" data-original-title="python格式导出"><i
                                class="icon-download-alt"></i></a>&nbsp;
                    </td>
                </tr>
            </foreach>
            <if condition="$list eq ''">
                <tr>
                    <td colspan="4" style="text-align:center; ">暂无数据！</td>
                </tr>
            </if>
            </tbody>
        </table>
        <div class="pagination"><{$page}></div>
    </div>
</div>

<!-- 底部 -->
<include file="Public:footer"/>
